<!--  -->
<template>
  <div :blockInfo='JSON.stringify(blockInfo)'
       class="create-flowy hover-card"
       style="background: #ffffff;border: 1px solid #efefef;border-radius: 6px;width: 280px;height: 100px;z-index: 1;">
    <div class="flowy-card-item">
      <div class="title">
        <el-tooltip :open-delay="1000" :content="blockInfo.name"
                    placement="top">
          <span>{{ blockInfo.name }}</span>
        </el-tooltip>
      </div>
      <div class="tips">
        <div class="tips-area">{{ blockInfo.description }}</div>
      </div>
      <div class="content">
        <div class="content-area">{{ blockInfo.description }}</div>
      </div>
    </div>
    <SettingModel :ref="`setting-model`"
                  :blockInfo='blockInfo'/>
  </div>
</template>

<script>
import mixinBlockCardViewModel from './block-card-view-model'
import SettingModel from './setting-model'

export default {
  components: { SettingModel },
  mixins: [mixinBlockCardViewModel],
  props: {
    blockInfo: {
      type: Object,
      default: () => {
      }
    }
  },
  data () {
    return {}
  },
  created () {
  },
  methods: {}
}
</script>

<style lang='scss' scoped>
@import "./bot-item-no.scss";
</style>
